﻿using System;
using System.Windows;
using System.Windows.Input;

namespace Client.ViewModels {
    class MainWindowViewModel : ViewModelBase {

        //private bool? dialogResult;
        //public bool? DialogResult {
        //    get { return this.dialogResult; }
        //    set {
        //        this.dialogResult = value;
        //        RaisePropertyChanged("DialogResult");
        //    }
        //}
        public ICommand Btn_CloseCmd {
            get {
                return new DelegateCommand((obj) => {
                    //DialogResult = true;
                    Environment.Exit(0);
                });
            }
        }
    }
}
